package com.itheima.youdianda.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/****
 * 分页查询实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean<T> {

    private Integer count;//总条数

    private Integer totalPages; //总页数

    private Integer pageSize;//每页显示条数

    private Integer currentPage;//当前页码

    private List<T> data;
}
